home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / dev / misc / guigfxlib.lha / GuiGFXLib / doc / history < prev    next >
Text File  |  1999-10-01  |  18KB  |  481 lines

  1.  
  2. history
  3. -------------------------
  4.  
  5. v16.2
  6.  
  7.     - improved mask handling: LoadPicture() now computes an
  8.       alpha-channel from a given transparency color, when no
  9.       PDTA_MaskPlane was returned. this solves some
  10.       outstanding compatibility problems with the picasso96
  11.       picture.datatype. thanks to S. Bauer for reporting
  12.       these problems.
  13.  
  14.     - fixed version string
  15.  
  16. v16
  17.     - added GGFX_RastLock for passing an optional SignalSemaphore
  18.       that may be used for locking a drawhandle's rastport while
  19.       rendering.
  20.     
  21.     - default dithermode is now DITHERMODE_EDD.
  22.     
  23.     - v39 exec pooled memory environment reactivated (it was
  24.       disabled since v10).
  25.       
  26.     - added StormC includes.
  27.     
  28.     - removed all assembler and E includes. I'm too lazy to
  29.       keep the assembler files up-to-date manually, and the
  30.       iconvert tool of E throws enforcerhits on my system.
  31.       (if you're programming the respective languages, you
  32.       should have better ways to transform the includes than
  33.       I have)
  34.  
  35. v15.2
  36.     - static-palette drawhandles allocate much better pens now
  37.       (a YUV colorspace is used instead of RGB), and allocation
  38.       is quicker.
  39.  
  40. v15.1
  41.     - render.library crashed with an ILLEGAL exception
  42.       (caused by a memhandler leak) when a HAM picture
  43.       was loaded with a v42 ILBM datatype. fixed.
  44.     
  45.     - CreatePictureMask() failed to create scaled masks.
  46.       fixed.
  47.  
  48. v15
  49.     - added a few basic examples to the documentation.
  50.     - added GGFX_UseMask for LoadPicture(). if TRUE and supported
  51.       by the datatype, a mask will be read and included to the 
  52.       picture as an alpha-channel.
  53.     - new function: CreatePictureMask(). This function creates
  54.       a single-bitplane mask from a picture's alpha-channel. it
  55.       can be passed to graphics.library/BltMaskBitMapRastPort().
  56.     - CreatePictureBitMap() now accepts a NULL picture. This can
  57.       be used to allocate a blank bitmap that can be blitted
  58.       to a drawhandle efficiently.
  59.  
  60. v14
  61.     - minor bug in MakePicture() fixed: when a blank
  62.       picture was created (data = NULL), the independent
  63.       flag was internally not set to TRUE.
  64.     - PICMTHD_AUTOCROP cropped blank pictures down to zero
  65.       pixels - fixed. (oops! evil crashes :-)
  66.  
  67. v13
  68.     - minor internal changes
  69.  
  70. v12
  71.     - added picture method PICMTHD_AUTOCROP
  72.     - the includes did not contain the definitions for
  73.       PICMTHD_NEGATIVE. fixed.
  74.  
  75. v11
  76.     - the Tower JPEG codec is no longer supported directly.
  77.     - added documentation for the v9 directdraw functions.
  78.  
  79. v10.2
  80.     - env/usescalepixelarray is no longer considered for
  81.       CreatePictureBitMap(). this function always uses
  82.       internal scaling routines now.
  83.  
  84. v10.1
  85.     - fixed a semaphore lockup problem when MakePicture() failed due to
  86.       a lack of memory
  87.     - parts of the library have been restructured.
  88.     - internal bitmap handling rewritten.
  89.     - MakePicture() has been rewritten. lots of sanity checks have been added.
  90.       bitmap conversion is more efficient. scaling has been included.
  91.     - fixed DirectDrawTruecolor() on truecolor screens without scaling
  92.     - rewrote ReadPicture(), added tags GGFX_AspectX, GGFX_AspectY,
  93.       GGFX_DestWidth, GGFX_DestHeight, and GGFX_ModeID.
  94.     - added picture method PICMTHD_NEGATIVE
  95.  
  96. v10
  97.     - major stability update! thanks to Luca Longone, who encountered
  98.       MystiCube crashing when started multiple times. the internal
  99.       memory manager is now reset to RMHTYPE_PUBLIC, and no problems
  100.       occured with 4 mysticubes, 2 mysticviews in slideshow mode,
  101.       rgbplasma, plus viewworld running simultaneously for many hours
  102.       under heavy debugging conditions.
  103.  
  104.       public memory management seems to solve all outstanding problems,
  105.       but it causes more memory fragmentation. a more sophisticated
  106.       memory manager is being planned.
  107.  
  108.     - added documentation for Source-Tags in picture method
  109.       PICMTHD_MIXALPHA.
  110.  
  111. v9.0
  112.     - CreatePictureBitmap() now returns gently with a NULL pointer
  113.       when no valid picture or drawhandles were specified.
  114.     - added CreatePictureMask(). (experimental, not for public use yet)
  115.  
  116. v8.5
  117.     - added env variable AUTODITHERTHRESHOLD
  118.     - env variables are now considered only once, when the
  119.       library is opened.
  120.     - forgot to document PICMTHD_SET in the autodocs. fixed.
  121.     - added method PICMTHD_CHECKAUTODITHER.
  122.  
  123. v8.4
  124.     - GGFX_AutoDither is now considered by DrawPicture()
  125.  
  126.  
  127. v8.3
  128.     - fixed CreateDirectDrawHandle(). when the input and
  129.       output dimensions were the same, this function returned
  130.       NULL instead of a valid directdrawhandle.
  131.     
  132.     - added support for texture-mapping and rotating while
  133.       drawing (no additional buffers required). currently
  134.       not documented and for internal use only.
  135.     
  136.     - added env variable guigfx/USEWPA8. it is used when the
  137.       drawhandle is on a native Amiga screenmode. when set to
  138.       0, guigfx.library will use an internal c2p routine.
  139.       when set to 1, guigfx.library will call WritePixelArray8(),
  140.       WritePixelLine8() or WriteChunkyPixels().
  141.  
  142. v8.2
  143.     - 12bit (default) drawhandles now use mapping-engines for
  144.       optimized rendering to static palettes (no pen-sharemap
  145.       specified for ObtainDrawHandle()). this is preliminary,
  146.       for test purposes only.
  147.     
  148.     - fixed PICMTHD_INSERT to support insertion of pictures
  149.       which are both mapped to the same drawhandle. untested yet.
  150.  
  151. v8.1
  152.     - to end up problems with cybergraphics.library/ScalePixelArray(),
  153.       I've included an ENV variable named guigfx/USESCALEPIXELARRAY
  154.       so that the user may decide. Default is "0", and
  155.       guigfx.library/DrawPicture() uses its internal scaling
  156.       routines. DirectDrawTrueColor() always uses ScalePixelArray()
  157.       with cgfx v41 present.
  158.  
  159. v8.0
  160.     - added CreateDirectDrawHandle(), DeleteDirectDrawHandle()
  161.       and DirectDrawTrueColor() for optimized drawing of
  162.       RGB data.
  163.  
  164.     - wowsers, cybergraphics.library/scalepixelarray() seems
  165.       to get faster and buggier with every new cybergraphics
  166.       update. i wonder if the authors still know what's going
  167.       on inside? anyway, i can't really decide whether to use
  168.       it or not. currently, DirectDrawTrueColor() uses it for
  169.       higher performance, and DrawPicture() doesn't for
  170.       accurate scaling without flicker.
  171.  
  172. v7.2
  173.     - applied Tower JPEG Class license agreements to the
  174.       legal informations.
  175.  
  176.     - If you want to use the Tower JPEG codec, your program
  177.       has to be in accordance to the respective license
  178.       agreements. Specify the tag GGFX_License for
  179.       IsPicture() and LoadPicture() to use the JPEG codec.
  180.       Otherwise, datatypes are used.
  181.  
  182. v7.1
  183.     - added picture mehtods PICMTHD_FLIPX and PICMTHD_FLIPY.
  184.  
  185. v7.0
  186.     - added picture method PICMTHD_INSERT.
  187.  
  188. v6.2
  189.     - improved drawing speed with OS3.0
  190.  
  191. v6
  192.     - ClonePicture() now handles scaling.
  193.     - minor changes and speed improvements.
  194.     - JPEG is the first file format to be supported
  195.       directly. LoadPicture() uses the tower.library
  196.       JPEG codec if available. directly supported
  197.       formats require less memory while loading.
  198.  
  199. v5
  200.     - added method PICMTHD_TINTALPHA
  201.  
  202. v4.4
  203.     - since v4.3, ObtainDrawHandle() crashed on screens with
  204.       no sharable pens. fixed.
  205.     - if render.library cannot be found in LIBS:,
  206.       guigfx.library now tries to open it at libs/.
  207.     - IsPicture() no longer crashes without datatypes.library.
  208.  
  209. v4.3
  210.     - improved logic in ObtainDrawHandle() for
  211.       truecolor-rastports and pensharemap=NULL
  212.     - updated autodocs.
  213.     - Calls to ScalePixelArray()/cybergraphics v41 have been
  214.       removed. Instead, a 24bit render.library scaling-engine
  215.       is used. ScalePixelArray() is too slow (especially with
  216.       large images), does not scale correctly, causes
  217.       flickering, and cannot be interrupted.
  218.     - fixed PICMTHD_SET with pictures mapped to a drawhandle.
  219.     - added tags GGFX_SourceWidth, GGFX_SourceHeight, 
  220.       GGFX_SourceX und GGFX_SourceY to ClonePicture(). It's
  221.       now possible to clone a picture in part.
  222.     - fixed a minor bug in MakePicture().
  223.     - MakePicture() now accpets NULL as the palette argument
  224.       for PIXFMT_CHUNKY_CLUT, in which case a grey palette
  225.       with 256 entries will be generated.
  226.  
  227. v4.2
  228.     - DrawPicture() did not set a correct return value under
  229.       rare circumstances. fixed.
  230.     - pictures now cache their last scaling-engine.
  231.     - DrawPicture() is now guaranteed to execute the line hook
  232.       at least once per call.
  233.  
  234. v4.1
  235.     - the functions LockPicture() and UnlockPicture() are now
  236.       considered 'obsolete'. Calling LockPicture() will always
  237.       return FALSE, and UnlockPicture() will do nothing.
  238.       
  239.       Please remove these functions from your code and replace
  240.       them with a call to DoPictureMethod() with
  241.       PICMTHD_MAPDRAWHANDLE if you need optimized rendering.
  242.  
  243.       The idea behind LockPicture() wasn't too bad, but currently
  244.       it is not possible to implement it properly. LockPicture()
  245.       and UnlockPicture() will no longer be documented, but the
  246.       LVOs remain valid and might be reactivated some day. Calling
  247.       these functions in already existing code is harmless.
  248.  
  249. v4.00
  250.     - implemented IsPicture()
  251.  
  252. v3.11
  253.     - fixed several memory management problems with LoadPicture().
  254.  
  255. v3.10
  256.     - fixed a heavy bug leading to memory corruptions, especially
  257.       when drawing to native Amiga screen modes.
  258.     
  259. v3.03
  260.     - MakePictureA() now accepts NULL as a data pointer. This
  261.       will create a 'blank' picture with the specified
  262.       attributes.
  263.     - ObtainDrawHandleA() now accepts NULL for the pensharemap
  264.       argument. In this case ObtainDrawHandle creates a drawhandle
  265.       with a static 9bit colorspace palette.
  266.     - MakePictureA() now accepts a NULL palette for PIXFMT_CHUNKY_CLUT.
  267.       This will create a default-palette (256 colors from black to white)
  268.     - drawing to bitplanes without scaling is now performed
  269.       via Chunky2BitMap/BltBitMapRastPort.
  270.     - implemented PICMTHD_SET.
  271.     - fixed lots of bugs in internal picture conversion routines.
  272.  
  273. v3.02
  274.     - guigfx.library no longer depends on datatypes.library v40.
  275.       the minimum version number is reset to v39.
  276.     - implemented PICMTHD_TEXTURE.
  277.     - bumped revision number for render.library to v25.
  278.  
  279. v3.01
  280.     - fixed a minor bug in LockPictureA().
  281.     - added documentation for LockPictureA() and UnLockPicture().
  282.     - added a workaround for INVALID_ID originating from
  283.       PDTA_ModeID. INVALID_ID returned by a datatype appears
  284.       neither logical nor legal to me. anyway, guigfx.library
  285.       no longer crashes with HAM8 pictures loaded by the ILBM v43
  286.       datatype in an ECS/OCS environment. however, the images still
  287.       appear scrambled, since guigfx.library cannot determine whether
  288.       to treat an image as HAM8 or not.
  289.  
  290. v3.00
  291.     - Some more tags implemented.
  292.     - the autodocs have been reworked.
  293.     - the internal memhandler has been reset to RMHTYPE_POOL.
  294.     - implemented LockPicture() and UnlockPicture().
  295.     - color allocation strategy improved.
  296.     - datatypes.Library is no longer required for guigfx.library
  297.       to be opened successfully.
  298.  
  299. v2.01
  300.     - fixed GGFX_SourceX / GGFX_SourceY when drawing truecolor data to
  301.       truecolor rastports without scaling. Thanks to M. Hillenbrand
  302.       who reported this obstinate bug.
  303.  
  304. v2.00
  305.     - fixed some internal histogram-related quirks and problems.
  306.       the resolution of a picture's histogram is now by default the
  307.       pensharemap's resolution it is being added to. if no
  308.       pensharemap is involved, then the histogram's resolution
  309.       will be set to the default resolution (currently HSTYPE_12BIT_TURBO).
  310.       You may as well set GGFX_HSType for LoadPicture(), MakePicture(),
  311.       and ReadPicture(), but this is not required under normal
  312.       circumstances. Better set the desired resolution when calling
  313.       CreatePenShareMap().
  314.     - guigfx.library no longer crashes with old versions of
  315.       render.library. Now it closes down gently (It seems as I was
  316.       completely brain-dead when I wrote the setup routine)
  317.     - autodocs now reflect all new tags and methods.
  318.  
  319. v1.99
  320.     - since the autodither value cannot be computed when rendering
  321.       to HAM screen modes, HAM dithering is always enabled with
  322.       autodither != 0 and disabled with autodither==0.
  323.     - fixed documentation of AddPaletteA() and fixed a bug in
  324.       AddPalette() / PALFMT_RGB32. Thanks to Frank Pagels who
  325.       reported these problems.
  326.     - added picture method PICMTHD_TINT.
  327.     - guigfx.library no longer tries to open Cybergraphics.library
  328.       v41. The code now correctly differentiates for ScalePixelArray()
  329.       and custom scaling routines. Thanks to M. Hillenbrand and
  330.       S. Sommerfeld who reported this bug.
  331.  
  332. v1.98
  333.     - drawing/scaling truecolor to truecolor drawing is now
  334.       done with ScalePixelArray/cybergraphics.library which
  335.       isn't as slow as I expected. It can stand the test
  336.       with a render.library scaling-engine plus line-by-line
  337.       drawing, and it requires no additional memory.
  338.     - The code now differenciates graphics v40 for drawing to
  339.       graphic card rastports via WriteChunkyPixels().
  340.  
  341. v1.97
  342.     - guigfx.library now tries to convert chunky pictures to
  343.       truecolor before drawing to HAM modes. if conversion
  344.       fails (i.e. with the picture in a static buffer), the
  345.       image will be drawn with the 16/64 HAM base colors.
  346.  
  347. v1.96
  348.     - fixed a minor bug that occured when drawing odd-width
  349.       pictures in directdraw mode.
  350.     - guigfx.library now renders to HAM modes. Currently the
  351.       full HAM spectrum is only used with truecolor pictures.
  352.       When ObtainDrawHandle() is supplied with GGFX_ModeID, 
  353.       then HAM is automatically recognized and used.
  354.  
  355. v1.95
  356.     - removed a workaround for an incompatibility problem
  357.       between the cybergraphx and picasso96 picture.datatypes.
  358.       loading is faster now and requires less memory. this
  359.       update requires the picasso96 picture.class datatype
  360.       v43.26.
  361.     - revised autodocs and completed the documentation for
  362.       the picture method PICMTHD_CREATEALPHAMASK.
  363.  
  364. v1.94
  365.     - fixed a overlap-memcopy bug in PICMTHD_CROP. You need to
  366.       upgrade to render.library v22.1.
  367.  
  368. v1.93
  369.     - improved alpha-channel handling. PICMTHD_MIXALPHA
  370.       now handles alpha-channels in both the source and
  371.       destination picture (if present).
  372.     - implemented PICMTHD_CREATEALPHAMASK.
  373.     - added E includes
  374.  
  375. v1.92
  376.     - fixed bug in DoPictureMethod: certain internal format
  377.       conversions lead to crashes since v1.7.
  378.     - implemented PICMTHD_RENDER with destination format
  379.       PIXFMT_RGB_24.
  380.     - completed alpha-channel administration. an alpha-channel
  381.       is no longer discarded when the internal pixel format
  382.       changes.
  383.     - implemented GGFX_AlphaPresent for MakePicture()
  384.  
  385. v1.9
  386.     - rewrote all drawing routines. the code is more
  387.       differentiated for optimized drawing.
  388.     - autodither fixed. finally this feature works as
  389.       it was originally intended to.
  390.     - Fixed v1.8 bug when drawing to truecolor screens.
  391.     - implemented GGFX_DitherMode for DrawPicture() and
  392.       CreatePictureBitMap(). They may be used to optionally
  393.       override the drawhandle's dithermode.
  394.     - Note: guigfx.library v1.9 requires render.library v21.
  395.     - implemented GGFX_AspectX and GGFX_AspectY to
  396.       MakePicture().
  397.  
  398. v1.8
  399.     - ObtainDrawHandle() no longer allocates pens for
  400.       truecolor rastports. Thanks to Stefan Sommerfeld
  401.       who reported this bug.
  402.     - GGFX_SourceWidth and GGFX_SourceHeight were not
  403.       correctly implemented for CreatePictureBitMap()
  404.     - fixed minor memory transfer problems: TurboCopyMem()
  405.       was sometimes applied to odd-sized memory areas
  406.     - implemented GGFX_BufferSize for MakePicture()
  407.  
  408. v1.7
  409.     - a picture has no longer to be maintained for an open
  410.       colorhandle. with other words: you may DeletePicture()
  411.       a picture after it has been added to a pensharemap via
  412.       AddPicture().
  413.     - implemented GGFX_MaxAllocPens for ObtainDrawHandle().
  414.       This limits the number of allocated pens to a specific
  415.       number. Better you use this feature only if you've got
  416.       a very good reason for it.
  417.     - math problems fixed. GGFX_Weight should work now. a better
  418.       color allocation strategy has been implemented.
  419.       Currently use GGFX_Weight in a range from 1-10. Maybe
  420.       I will implement a more sophisticated measurement later.
  421.     - internal color allocation order is now PALMODE_SATURATION
  422.       instead of PALMODE_SIGNIFICANCE. this improves color
  423.       allocation speed drastically.
  424.     - drawhandles no longer maintain a global mapping-engine.
  425.       this saves some memory and is remarkably faster in many
  426.       situations, since the mapping-engine could not be linked
  427.       to the drawhandle's histogram.
  428.  
  429. v1.6
  430.     - implemented GGFX_ErrorCode for LoadPicture(). You specify
  431.       a pointer to LONG, and a standard DOS error code will be
  432.       returned (NULL when everything was OK).
  433.  
  434. v1.5
  435.     - LoadPicture() did not always handle v43 bitmaps correctly.
  436.       Fixed. Thanks to Markus Hillenbrand who reported this bug.
  437.     - guigfx.library's global memhandler is reset to RMHTYPE_PUBLIC
  438.       for debugging, since public memory violations can be
  439.       tracked down more easily.
  440.     - fixed PICMTHD_MIXALPHA with the source picture in
  441.       PIXFMT_CHUNKY_CLUT
  442.     - added PICATTR_AspectX and PICATTR_AspectY to GetPictureAttrs()
  443.  
  444. v1.4    - fixed minor autodither bug.
  445.     - GGFX_CallBackHook implemented for CreatePictureBitMap.
  446.     - the autodither calculation is now invoked only for rastports
  447.       with a depth <= 8
  448.  
  449. v1.3
  450.     - added GGFX_DitherMode to CreatePictureBitMap()
  451.     - added GGFX_DestWidth, DestHeight, DestX and DestY to
  452.       method PICMTHD_MIXALPHA and PICMTHD_SETALPHA.
  453.       added GGFX_DestWidth, DestHeight, DestX, DestY, SourceX,
  454.       SourceY, SourceWidth, SourceHeight to method PICMTHD_MIX.
  455.       after all, DoPictureMethod() can apply clip regions of alpha
  456.       channel data to regions inside the picture, with automatic
  457.       scaling when necessary.
  458.     - cleaned up all drawing routines.
  459.     - GGFX_CallBackHook implemented for DrawPicture.
  460.  
  461. v1.2
  462.     - fixed a bug in ClonePicture(). When a cloned picture was
  463.       deleted after the original, a memhandler-failure occured
  464.       (leading to an ILLEGAL exception in render.library)
  465.     - fixed a bug in LoadPicture() - eliminated calls to IoErr().
  466.       dos.library is not part of guigfx.library. this fixes
  467.       crashes with unknown datatype objects or load errors.
  468.     - guigfx.library now uses a global memhandler with RMHTYPE_POOL
  469.       and MEMF_REVERSE.
  470.     - implemented GGFX_SourceWidth, GGFX_SourceHeight, GGFX_SourceX
  471.       and GGFX_SourceY for DrawPicture(). Now you can easily specify
  472.       offsets.
  473.  
  474. v1.1
  475.     - fixed a heavy bug when drawing to native Amiga screen modes.
  476.  
  477.  
  478. v1.0
  479.     - first internal beta release.
  480.  
  481.